home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
051-075
/
scopedisk72
/
unix
/
readme
< prev
next >
Wrap
Text File
|
1995-03-19
|
1KB
|
30 lines
Don't forget to look for the GNU utilities egrep and sed on this BBS!!!
These are some UNIX-like utilities that will be most useful to you if
you have a piping shell like ARP's 1.3 AShell or Bill Hawe's WShell.
c -- put input into as many aligned columns as possible. It may be
possible to fit that entire directory onto one screen after all!
cut -- cut <n> [file list], cuts out a field from each input line. Not
overly useful until I implement the -v and more-than-one-field option,
but still gets used.
nl -- put each input word onto a separate line.
rand -- generate a random integre from 0 -> 2^31. Useful for generating
temporary filenames, and the like.
rev -- output lines in reverse order they came in.
sh -- to enable non-piping programs to be piped. eg,
Lattice's 'wc' would be piped as '... | ... | sh "wc @" | ...',
where '@' tells sh where the filename should go. Note it's implemented
as an ARP shell scipt, so you'll need AShell for this one.
tail -- see docs
uniq -- delete adjacent duplicate lines. Use to compress files that have
more blank lines than you'd like, or to take out duplicates that 'sort'
spits out,...